<?php
/**
 * vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
 */

echo $this->table(array(
        'cellspacing' => 1,
        'cellpadding' => 1,
        'style'       => 'margin: 5px auto 5px 5px;',
    ))
    ->addCaption('Address Book', array('style'   => 'text-decoration: underline;'))
    ->addHeadRow(
        array(
            "Name",
            array(
                'content' => 'Email',
                'attribs' => array('style' => 'background: #ffcccc;'),
                'use_th' => false,
            ),
            "Address"
        ),
        array('style' => 'background: #ffffff;')
    )
    ->addBodyRow(array(
        'Alfred E. Oldman',
        'oldman_randomshit@gmail.com',
        '13A, North Tyndall Ave, Utopia, CA 90028.',
    ))
    ->fetch();
